home *** CD-ROM | disk | FTP | other *** search
/ CSi Master: Ableton Live 5 / CSi Master: Ableton Live 5.iso / pc / rsrc / locrsrc / cstshared.cst / 00016_quitRoutine (MT Player's Old KeyCheck).ls < prev    next >
Encoding:
Text File  |  2005-07-28  |  1.0 KB  |  58 lines

  1. on quitRoutine_OLD
  2.   
  3.   if the commandDown and the key = "m" then
  4.     
  5.     puppetSound "high beep"
  6.     muteVolume
  7.     
  8.     dontPassEvent
  9.     
  10.   else if the key = numToChar (30) then
  11.     
  12.     puppetSound "high beep"
  13.     volumeUp
  14.     
  15.     dontPassEvent
  16.     
  17.   else if the key = numToChar (31) then
  18.     
  19.     puppetSound "high beep"
  20.     volumeDown
  21.     
  22.     dontPassEvent
  23.     
  24.   end if
  25.   
  26.   --  if (the keyCode = 113 and the machineType <> 256) or (the commandDown and the key = ENTER and the machineType <> 256) then
  27.   --    
  28.   --    if objectP(finderSwitch) then
  29.   --      finderSwitch(mDispose)
  30.   --    end if
  31.   --    
  32.   --    put FinderSwitcher(mNew) into finderSwitch
  33.   --    if objectP(finderSwitch) then finderSwitch(mSwitchToFinder)
  34.   --    
  35.   --  end if
  36.   
  37.   
  38.   if the commandDown and the key = "Q" then
  39.     
  40.     quitThisProgram
  41.     
  42.   end if
  43.   
  44.   if the commandDown and the key = "l" and the frame <=23 and the frame >= 16 then
  45.     
  46.     startIt
  47.     
  48.   end if
  49.   
  50.   
  51.   if the commandDown and the key = "w" then
  52.     
  53.     closeIt
  54.     
  55.   end if
  56.   
  57.   
  58. end quitRoutine